
/**
 * 地图配置文件
 */
const map2DConfig = {
    // 天地图key
    tiandituKey:"2c1c91a5b6e77ed459735a17f813c339",
    // 默认坐标系
    defaultProjection: "EPSG:4326",
    // 默认地图中心
    // defaultCenter: [113.818808,29.245859], // 通城
    defaultCenter: [118.67466,37.43384],
    // 默认缩放级别
    defaultZoom: 14,
    // 加载的管网图层
    layers:[
        {
            layerName: "供水管线-原水",
            //mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_pipe_sy?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
            mapUrl: "http://10.204.170.214:8090/iserver/services/map-dy20240229/rest/maps/cspmpipe_jy?prjCoordSys=%7B%22epsgCode%22:4326%7D",
            dataUrl: "",
            show: true
        },
        {
            layerName: "供水管线-输水",
            //mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_pipe_sy?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
            mapUrl: "http://10.204.170.214:8090/iserver/services/map-dy20240229/rest/maps/cspmpipe_ss?prjCoordSys=%7B%22epsgCode%22:4326%7D",
            dataUrl: "",
            show: true
        },
        // {
        //     layerName: "供水管线-规划",
        //     mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_pipe_gh?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
        //     dataUrl: "",
        //     show: true
        // },
        // {
        //     layerName: "供水管线-废弃",
        //     mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_pipe_fq?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
        //     dataUrl: "",
        //     show: true
        // },
        // {
        //     layerName: "节点",
        //     mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_node?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
        //     dataUrl: "",
        //     show: true
        // },
        // {
        //     layerName: "消防栓",
        //     mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_firehydrant?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
        //     dataUrl: "",
        //     show: true
        // },
        // {
        //     layerName: "井室",
        //     mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_manhole?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
        //     dataUrl: "",
        //     show: true
        // },
        // {
        //     layerName: "阀门",
        //     mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_valve?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
        //     dataUrl: "",
        //     show: true
        // },
        // {
        //     layerName: "水表（大用户）",
        //     mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_meterimp?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
        //     dataUrl: "",
        //     show: true
        // },
        // {
        //     layerName: "水表（一般用户）",
        //     mapUrl: "http://10.110.87.43:8090/iserver/services/map-CT_WS-3/rest/maps/ws_metercom?prjCoordSys=%7B%27epsgCode%27%3A4326%7D",
        //     dataUrl: "",
        //     show: true
        // },
    ],
    // 各类服务接口地址
    services: {
        // 默认的服务接口地址
        defaultUrl:'http://172.20.88.203:8011/',
        // 默认的服务接口前缀\路径
        defaultPre:'api',
        // 默认的服务token
        defaultToken:'api',
        // 地图图层接口
        mapLayers:{
            // 接口地址
            url:'',
            // 接口状态 true在用/false弃用
            status:true
        },
    }
}

export {
    map2DConfig,
}